/*
 * SpriteInstance.cpp
 *
 *  Created on: 08/01/2012
 *      Author: Graciela
 */

#include "SpriteInstance.h"

SpriteInstance::SpriteInstance(Sprite* sprite) {
	this->sprite = sprite;
	this->x = 0;
	this->y = 0;
}

Sprite*SpriteInstance::getSprite() const {
	return sprite;
}

int SpriteInstance::getX() const {
	return x;
}

int SpriteInstance::getY() const {
	return y;
}

void SpriteInstance::setY(int y) {
	this->y = y;
}

void SpriteInstance::setX(int x) {
	this->x = x;
}

SpriteInstance::~SpriteInstance() {
}

